// MiriamDial01.h: Schnittstelle f�r die Klasse MiriamDial01.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MIRIAMDIAL01_H__FB767603_6F46_40EF_99D7_1A334CEFD8F5__INCLUDED_)
#define AFX_MIRIAMDIAL01_H__FB767603_6F46_40EF_99D7_1A334CEFD8F5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <QtCore>
#include <QtGui>
class MiriamDial01  : public QWidget
{
	Q_OBJECT

public:
	MiriamDial01(QWidget* parent = 0);
	virtual ~MiriamDial01();

protected:
    QColor m_backgroundColor,
    m_middleColor,
    m_markerColor;
    
	void paintEvent(QPaintEvent *);
	void resizeEvent(QResizeEvent * event);

private:
	int m_angle;
    
public:
	int angle(void)const {return m_angle-90;}//90 is horizontal - our zero degrees
    const QColor & backgroundColor() const;
    const QColor & middleColor() const;
    void setBackgroundColor(QColor color);
    void setMiddleColor(QColor color);
    const QColor & markerColor() const;
    void setMarkerColor(QColor color);
public slots:
	void setAngle(const int angle);
};

#endif // !defined(AFX_MIRIAMDIAL01_H__FB767603_6F46_40EF_99D7_1A334CEFD8F5__INCLUDED_)
